package com.seahorse.youliao;

import com.zengtengpeng.annotation.EnableMQ;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.treeleafj.xdoc.boot.EnableXDoc;

/**
 * @author songqiang
 * EnableXDoc <--- 加上此注解以便启用XDOC在线HTML文档
 */
@SpringBootApplication
@EnableTransactionManagement
@ComponentScan(basePackages = {"com.seahorse.youliao.*"})
@EnableXDoc
@EnableMQ
public class YouliaoWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(YouliaoWebApplication.class, args);
    }
}
